blob: 0b3b1b9a6d675fceb48a4afbaf80b02695625919 [file] [log] [blame]
Adrià Vilanova Martínez4f5b8342021-09-03 22:30:53 +02001version: "3"
2
3services:
4 envoy:
5 build:
6 context: ./docker/envoy
7 image: twpt-server/envoy
8 ports:
9 - "10123:8081"
10 depends_on:
11 - server
12 networks:
13 - backend
Adrià Vilanova Martínez559c2532021-09-24 20:12:52 +020014 restart: unless-stopped
Adrià Vilanova Martínez4f5b8342021-09-03 22:30:53 +020015 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"]
Adrià Vilanova Martínez63f94862021-09-03 23:07:24 +020021 ports:
22 - "10124:10000"
Adrià Vilanova Martínez4f5b8342021-09-03 22:30:53 +020023 depends_on:
24 - db
25 networks:
26 - backend
Adrià Vilanova Martínez559c2532021-09-24 20:12:52 +020027 restart: unless-stopped
Adrià Vilanova Martínez4f5b8342021-09-03 22:30:53 +020028 db:
Renovate bot72732352023-12-30 00:06:25 +000029 image: mariadb@sha256:9da6213d1a5714c4585c9c0003c51510b320d6f60e53d78701fe1e194126249f
Adrià Vilanova Martínez4f5b8342021-09-03 22:30:53 +020030 environment:
31 MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
32 MARIADB_DATABASE: twpt
33 networks:
34 - backend
Adrià Vilanova Martínez559c2532021-09-24 20:12:52 +020035 restart: unless-stopped
Adrià Vilanova Martínez4f5b8342021-09-03 22:30:53 +020036
37networks:
38 backend: