38 lines
863 B
YAML
38 lines
863 B
YAML
|
services:
|
||
|
|
||
|
anp_server:
|
||
|
image: kyman:anp-server
|
||
|
container_name: anp-server
|
||
|
volumes:
|
||
|
- ./AnPServer/git:/Projects
|
||
|
- ./AnPServer/scripts:/Scripts
|
||
|
- ./AnPServer/files:/Files
|
||
|
- ./Nginx/tmp:/Nginx
|
||
|
networks:
|
||
|
dev-network-tests:
|
||
|
ipv4_address: 172.22.0.190
|
||
|
command: /Scripts/entrypoint.sh
|
||
|
|
||
|
nginx_server:
|
||
|
image: kyman:nginx-server
|
||
|
container_name: nginx-server
|
||
|
ports:
|
||
|
- 80:80/tcp
|
||
|
- 443:443/tcp
|
||
|
volumes:
|
||
|
- ./Nginx/projects:/Projects
|
||
|
- ./certificates:/Certificates
|
||
|
- ./Nginx/scripts:/Scripts
|
||
|
- ./Nginx/logs:/var/log/nginx
|
||
|
- ./Nginx/tmp:/tmp/pointers
|
||
|
networks:
|
||
|
dev-network-tests:
|
||
|
ipv4_address: 172.22.0.86
|
||
|
command: /Scripts/run.sh
|
||
|
|
||
|
networks:
|
||
|
dev-network-tests:
|
||
|
driver: bridge
|
||
|
ipam:
|
||
|
config:
|
||
|
- subnet: 172.22.0.0/24
|