diff options
| author | crupest <crupest@outlook.com> | 2022-11-25 21:01:20 +0800 | 
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2022-11-25 21:01:20 +0800 | 
| commit | 6259ab6ae42fefc3328d61fd016401342c08a90f (patch) | |
| tree | a6471b125c744a8bf1672ea4ce3e68ad586487ad /template/docker-compose.yaml.template | |
| parent | d299efb37c741b670c5fae5362362cea2c13e0b8 (diff) | |
| download | crupest-6259ab6ae42fefc3328d61fd016401342c08a90f.tar.gz crupest-6259ab6ae42fefc3328d61fd016401342c08a90f.tar.bz2 crupest-6259ab6ae42fefc3328d61fd016401342c08a90f.zip  | |
Add root page.
Diffstat (limited to 'template/docker-compose.yaml.template')
| -rw-r--r-- | template/docker-compose.yaml.template | 10 | 
1 files changed, 7 insertions, 3 deletions
diff --git a/template/docker-compose.yaml.template b/template/docker-compose.yaml.template index 50bc8bf..3df0a18 100644 --- a/template/docker-compose.yaml.template +++ b/template/docker-compose.yaml.template @@ -54,8 +54,13 @@ services:        - code-server-network    nginx: -    image: nginx:latest -    pull_policy: always +    pull_policy: build +    build: +      context: ./docker/crupest-nginx +      dockerfile: Dockerfile +      pull: true +      tags: +        - "crupest/arch-code-server:latest"      container_name: nginx      restart: on-failure:3      ports: @@ -64,7 +69,6 @@ services:        - "443:443/udp"      volumes:        - "./nginx-config:/etc/nginx/conf.d:ro" -      - "./site:/srv/www:ro"        - "./data/certbot/certs:/etc/letsencrypt:ro"        - "./data/certbot/webroot:/srv/acme:ro"      networks:  | 
