blob: b222ec4b05ecfdfaf65b0e14df3083c99f004e48 [file] [log] [blame]
Adrià Vilanova Martínezf7ee6582021-09-02 21:53:28 +02001version: "3"
2
3services:
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 bot72732352023-12-30 00:06:25 +000028 image: mariadb@sha256:9da6213d1a5714c4585c9c0003c51510b320d6f60e53d78701fe1e194126249f
Adrià Vilanova Martínezf7ee6582021-09-02 21:53:28 +020029 environment:
30 MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
31 MARIADB_DATABASE: twpt
32 ports:
33 - "3307:3306"
34 networks:
35 - backend
36
37networks:
38 backend: