Adrià Vilanova Martínez | f7ee658 | 2021-09-02 21:53:28 +0200 | [diff] [blame] | 1 | version: "3" |
| 2 | |
| 3 | services: |
| 4 | envoy: |
| 5 | build: |
| 6 | context: ./docker/envoy-dev |
| 7 | image: twpt-server/envoy-dev |
| 8 | ports: |
| 9 | - "8081:8081" |
| 10 | - "9901:9901" |
| 11 | depends_on: |
| 12 | - server |
| 13 | networks: |
| 14 | - backend |
| 15 | server: |
| 16 | build: |
| 17 | context: . |
| 18 | dockerfile: ./cmd/server/Dockerfile |
| 19 | image: twpt-server/golang-server |
| 20 | entrypoint: ["/sbin/tini", "--", "/server", "--db=root:@tcp(db)/twpt", "--port=10000"] |
| 21 | depends_on: |
| 22 | - db |
| 23 | ports: |
| 24 | - "10123:10000" |
| 25 | networks: |
| 26 | - backend |
| 27 | db: |
Renovate bot | 7273235 | 2023-12-30 00:06:25 +0000 | [diff] [blame^] | 28 | image: mariadb@sha256:9da6213d1a5714c4585c9c0003c51510b320d6f60e53d78701fe1e194126249f |
Adrià Vilanova Martínez | f7ee658 | 2021-09-02 21:53:28 +0200 | [diff] [blame] | 29 | environment: |
| 30 | MYSQL_ALLOW_EMPTY_PASSWORD: "yes" |
| 31 | MARIADB_DATABASE: twpt |
| 32 | ports: |
| 33 | - "3307:3306" |
| 34 | networks: |
| 35 | - backend |
| 36 | |
| 37 | networks: |
| 38 | backend: |