2021-12-14 14:02:19 +08:00
|
|
|
version: "3.7"
|
|
|
|
services:
|
|
|
|
homepage:
|
2022-09-15 23:24:10 +08:00
|
|
|
environment:
|
|
|
|
- AUTH_TOKEN=${AUTH_TOKEN}
|
2022-11-08 20:02:05 +08:00
|
|
|
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
|
|
|
|
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
|
|
|
|
- AWS_DEFAULT_REGION=${AWS_DEFAULT_REGION}
|
|
|
|
- LATEST_COMMIT=${LATEST_COMMIT}
|
2021-12-14 14:02:19 +08:00
|
|
|
build:
|
|
|
|
context: ../
|
2022-09-15 23:24:10 +08:00
|
|
|
args:
|
|
|
|
AUTH_TOKEN: ${AUTH_TOKEN}
|
2022-11-08 20:02:05 +08:00
|
|
|
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}
|
|
|
|
AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY}
|
|
|
|
AWS_DEFAULT_REGION: ${AWS_DEFAULT_REGION}
|
|
|
|
LATEST_COMMIT: ${LATEST_COMMIT}
|
2021-12-14 14:02:19 +08:00
|
|
|
dockerfile: ./website/homepage/Dockerfile
|
|
|
|
container_name: homepage
|
|
|
|
ports:
|
2022-10-15 05:07:26 +08:00
|
|
|
- "8080:80"
|