feat: treafik config
parent
7a47d33fd1
commit
74f28f9d9d
|
@ -1,4 +1,5 @@
|
|||
version: '3'
|
||||
|
||||
services:
|
||||
prisma:
|
||||
image: prismagraphql/prisma:1.34
|
||||
|
@ -16,6 +17,18 @@ services:
|
|||
user: root
|
||||
password: prisma
|
||||
migrations: true
|
||||
labels:
|
||||
- 'traefik.docker.network=web'
|
||||
- 'traefik.enable=true'
|
||||
- 'traefik.domain=graphqltest.crvx.fr'
|
||||
- 'traefik.basic.frontend.rule=Host:graphqltest.crvx.fr'
|
||||
- 'traefik.basic.port=4466'
|
||||
- 'traefik.basic.protocol=http'
|
||||
- 'traefik.frontend.headers.SSLRedirect=true'
|
||||
- 'traefik.frontend.headers.STSSeconds=315360000'
|
||||
networks:
|
||||
- default
|
||||
- web
|
||||
|
||||
mysql:
|
||||
image: mysql:5.7
|
||||
|
@ -25,5 +38,9 @@ services:
|
|||
volumes:
|
||||
- mysql:/var/lib/mysql
|
||||
|
||||
networks:
|
||||
web:
|
||||
external: true
|
||||
|
||||
volumes:
|
||||
mysql:
|
Loading…
Reference in New Issue