新增版本控制
This commit is contained in:
64
docker-compose-test.yaml
Normal file
64
docker-compose-test.yaml
Normal file
@@ -0,0 +1,64 @@
|
||||
services:
|
||||
shopify-america:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: apps/shopify-america/Dockerfile
|
||||
image: shopify-america:test
|
||||
container_name: shopify-america-test
|
||||
restart: always
|
||||
ports:
|
||||
- '3032:3002'
|
||||
labels:
|
||||
- traefik.http.routers.shoptestqaus.rule=Host(`shop-test-us.bluettipower.com`)
|
||||
- traefik.http.routers.shoptestqaus.middlewares=shoptestqaus-cors
|
||||
- traefik.http.middlewares.shoptestqaus-cors.headers.accesscontrolallowmethods=*
|
||||
- traefik.http.middlewares.shoptestqaus-cors.headers.accesscontrolallowheaders=*
|
||||
- traefik.http.middlewares.shoptestqaus-cors.headers.accesscontrolalloworiginlist=*
|
||||
- traefik.http.middlewares.shoptestqaus-redirect.redirectscheme.scheme=https
|
||||
- traefik.http.middlewares.shoptestqaus-redirect.redirectscheme.permanent=true
|
||||
- traefik.http.services.shoptestqaus.loadbalancer.server.port=3002
|
||||
- traefik.http.routers.shoptestqaus.tls=true
|
||||
- traefik.http.routers.shoptestqaus.tls.certresolver=myresolver
|
||||
networks:
|
||||
- traefik
|
||||
env_file:
|
||||
- apps/shopify-america/.env.test
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: '10m'
|
||||
max-file: '3'
|
||||
|
||||
shopify-australia:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: apps/shopify-australia/Dockerfile
|
||||
image: shopify-australia:test
|
||||
container_name: shopify-australia-test
|
||||
restart: always
|
||||
ports:
|
||||
- '3031:3001'
|
||||
labels:
|
||||
- traefik.http.routers.shoptestqaau.rule=Host(`shop-test-au.bluettipower.com`)
|
||||
- traefik.http.routers.shoptestqaau.middlewares=shoptestqaau-cors
|
||||
- traefik.http.middlewares.shoptestqaau-cors.headers.accesscontrolallowmethods=*
|
||||
- traefik.http.middlewares.shoptestqaau-cors.headers.accesscontrolallowheaders=*
|
||||
- traefik.http.middlewares.shoptestqaau-cors.headers.accesscontrolalloworiginlist=*
|
||||
- traefik.http.middlewares.shoptestqaau-redirect.redirectscheme.scheme=https
|
||||
- traefik.http.middlewares.shoptestqaau-redirect.redirectscheme.permanent=true
|
||||
- traefik.http.services.shoptestqaau.loadbalancer.server.port=3001
|
||||
- traefik.http.routers.shoptestqaau.tls=true
|
||||
- traefik.http.routers.shoptestqaau.tls.certresolver=myresolver
|
||||
networks:
|
||||
- traefik
|
||||
env_file:
|
||||
- apps/shopify-australia/.env.test
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: '10m'
|
||||
max-file: '3'
|
||||
|
||||
networks:
|
||||
traefik:
|
||||
external: true
|
||||
Reference in New Issue
Block a user