LJ/docker-compose.yml

40 lines
718 B
YAML
Raw Normal View History

2024-08-29 20:23:37 +00:00
networks:
default:
driver: bridge
ipam:
driver: default
config:
- subnet: 10.0.2.0/24
services:
redis:
image: redis
networks:
default:
ipv4_address: 10.0.2.2
lj:
build:
dockerfile: Dockerfile
context: .docker/
ports:
- "9001:9001"
- "9002:9002"
volumes:
- .:/project
- .docker/LJ.conf.docker:/project/LJ.conf
networks:
default:
ipv4_address: 10.0.2.3
apache:
image: httpd
ports:
- "8080:80"
volumes:
- ./www:/usr/local/apache2/htdocs/
- .docker/config.js.docker:/usr/local/apache2/htdocs/config.js:ro
networks:
default:
ipv4_address: 10.0.2.4