Replace DynamicPress with remote-source image build
This commit is contained in:
1 parent
c53e1d8388
commit
aeba66d138
4 files changed
+23
-37
No files matched your search
+13
-14
@@ -2,22 +2,21 @@ name: dynamicpress
|
||||
|
||||
services:
|
||||
dynamicpress:
|
||||
image: nginx:alpine
|
||||
image: dynamicpress-website:latest
|
||||
pull_policy: never
|
||||
build:
|
||||
context: ssh://git@git.yoonect.com:2222/DynamicPress/dynamicpress-website.git#master
|
||||
ssh:
|
||||
- default
|
||||
container_name: dynamicpress
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- type: bind
|
||||
source: /srv/appdata/dynamicpress/www
|
||||
target: /var/www/html
|
||||
read_only: true
|
||||
bind:
|
||||
create_host_path: false
|
||||
- type: bind
|
||||
source: /srv/docker/dynamicpress/dynamicpress.conf
|
||||
target: /etc/nginx/conf.d/default.conf
|
||||
read_only: true
|
||||
bind:
|
||||
create_host_path: false
|
||||
read_only: true
|
||||
tmpfs:
|
||||
- /tmp:size=16m
|
||||
cap_drop:
|
||||
- ALL
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
networks:
|
||||
npm_proxy:
|
||||
ipv4_address: 192.168.99.14
|
||||
|
||||
Reference in new issue
Block a user