mirror of
https://github.com/fspc/workstand.git
synced 2025-02-23 01:13:22 -05:00
Literally getting so close.
This commit is contained in:
parent
89dedd6b87
commit
3c72f014b6
@ -41,7 +41,7 @@ WEBPACK_LOADER = {
|
||||
'DEFAULT': {
|
||||
'CACHE': True,
|
||||
'BUNDLE_DIR_NAME': 'dist/', # must end with slash
|
||||
'STATS_FILE': os.path.join(BASE_DIR, 'webpack-stats-prod.json'),
|
||||
'STATS_FILE': os.path.join(BASE_DIR, 'assets/webpack-stats-prod.json'),
|
||||
'POLL_INTERVAL': 0.1,
|
||||
'IGNORE': ['.+\.hot-update.js', '.+\.map']
|
||||
}
|
||||
|
@ -7,13 +7,15 @@ services:
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
links:
|
||||
- workstand
|
||||
volumes_from:
|
||||
- workstand:ro
|
||||
volumes:
|
||||
- certs:/etc/letsencrypt
|
||||
|
||||
restart: always
|
||||
networks:
|
||||
- default
|
||||
links:
|
||||
- workstand
|
||||
workstand:
|
||||
build:
|
||||
context: .
|
||||
@ -26,9 +28,6 @@ services:
|
||||
- DJANGO_SETTINGS_MODULE=bikeshop.settings.production
|
||||
volumes:
|
||||
- static:/code/static
|
||||
depends_on:
|
||||
- redis
|
||||
- db
|
||||
redis:
|
||||
restart: always
|
||||
db:
|
||||
|
@ -1,13 +1,19 @@
|
||||
version: "2"
|
||||
services:
|
||||
workstand:
|
||||
networks:
|
||||
- default
|
||||
image: bcbc/workstand
|
||||
depends_on:
|
||||
links:
|
||||
- redis
|
||||
- db
|
||||
redis:
|
||||
networks:
|
||||
- default
|
||||
image: redis:latest
|
||||
db:
|
||||
networks:
|
||||
- default
|
||||
image: postgres:latest
|
||||
volumes:
|
||||
- pgdata:/var/lib/postgresql/data/
|
||||
@ -15,3 +21,7 @@ services:
|
||||
volumes:
|
||||
pgdata:
|
||||
external: false
|
||||
|
||||
networks:
|
||||
default:
|
||||
driver: bridge
|
||||
|
Loading…
x
Reference in New Issue
Block a user