Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- aptcache:
- container_name: aptcache
- hostname: aptcache
- image: sameersbn/apt-cacher-ng:3.1-2
- networks:
- - razornet
- ports:
- - 3142:3142
- restart: always
- volumes:
- - aptcache:/var/cache/aptcache
- db:
- command: postgres
- container_name: db
- depends_on:
- - aptcache
- environment:
- POSTGRES_DB: $POSTGRES_DB
- POSTGRES_HOST: $POSTGRES_HOST
- POSTGRES_PASSWORD: $POSTGRES_PASSWORD
- POSTGRES_USER: $POSTGRES_USER
- PGDATA: $PGDATA
- env_file: .env
- image: postgres:11.1
- links:
- - aptcache
- networks:
- razornet:
- aliases:
- - postgres
- - postgresql
- - database
- ports:
- - $DB_PORT:5432
- restart: always
- volumes:
- - db:$PGDATA
- redis:
- container_name: redis
- depends_on:
- - aptcache
- image: redis:4.0
- ports:
- - 6379:6379
- volumes:
- - redis:/data
- nginx-proxy:
- container_name: nginx-proxy
- environment:
- VIRTUAL_HOST: razormd.test
- image: jwilder/nginx-proxy
- links:
- - aptcache
- - frontend
- - puma
- - cable
- networks:
- razornet:
- aliases:
- - nginx
- - www
- ports:
- - 80:80
- - 443:443
- volumes:
- - /var/run/docker.sock:/tmp/docker.sock:ro
- - ./docker/web/nginx.conf:/etc/nginx/nginx.conf:ro
- - ./docker/web/proxy.conf:/etc/nginx/proxy.conf:ro
- - ./backend/public:/app/public/
- - ./scripts/dev-keys:/etc/nginx/certs
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement