~gagbo/rustpad

rustpad/docker-compose/docker-compose.yml -rw-r--r-- 742 bytes
e74e1712Gerry Agbobada fix(ci): fix pushing tagged images without rebuild 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# SPDX-FileCopyrightText: 2022 Gerry Agbobada <git@gagbo.net>
#
# SPDX-License-Identifier: CC0-1.0

# This docker-compose _must_ be called from
# the root of the repository to set the correct context
services:
  rustpad:
    image: gagbo/rustpad:piston-latest
    build: ..
    restart: always
    environment:
      - PISTON_URL=http://piston:2000/api/v2
      - RUST_LOG=info
    ports:
      - 3030:3030

  piston:
    image: ghcr.io/engineer-man/piston
    container_name: piston_api
    restart: always
    volumes:
      - ../data/piston/packages:/piston/packages
    tmpfs:
      - /piston/jobs:exec,uid=1000,gid=1000,mode=711
      - /tmp:exec
    ports:
      - 127.0.0.1:2000:2000

networks:
  default:
    name: vpn-rustpad-piston